package com.surfilter.mapper;


import com.surfilter.pojo.CrawlerTask;

import java.util.List;

public interface CrawlerTaskMapper {
    int deleteByPrimaryKey(Integer taskId);

    int insert(CrawlerTask record);

    int insertSelective(CrawlerTask record);

    CrawlerTask selectByPrimaryKey(Integer taskId);

    int updateByPrimaryKeySelective(CrawlerTask record);

    int updateByPrimaryKey(CrawlerTask record);

    List<CrawlerTask> selectGsxtUnExeTask(int num);

    int updateTaskStatus(CrawlerTask crawlerTask);

    int updateVersion(CrawlerTask crawlerTask);

    CrawlerTask selectOneGsxtUnExeTask();
}